import request from '@/utils/request'

// 查询学生报名进度列表
export function listSignProgress(query) {
  return request({
    url: '/edu/signProgress/list',
    method: 'get',
    params: query
  })
}

export function listAllBySignId(signId) {
  return request({
    url: '/edu/signProgress/list/' + signId,
    method: 'get'
  })
}

// 查询学生报名进度详细
export function getSignProgress(progressId) {
  return request({
    url: '/edu/signProgress/' + progressId,
    method: 'get'
  })
}

// 新增学生报名进度
export function addSignProgress(data) {
  return request({
    url: '/edu/signProgress',
    method: 'post',
    data: data
  })
}

// 修改学生报名进度
export function updateSignProgress(data) {
  return request({
    url: '/edu/signProgress',
    method: 'put',
    data: data
  })
}

// 删除学生报名进度
export function delSignProgress(progressId) {
  return request({
    url: '/edu/signProgress/' + progressId,
    method: 'delete'
  })
}

// 导出学生报名进度
export function exportSignProgress(query) {
  return request({
    url: '/edu/signProgress/export',
    method: 'get',
    params: query
  })
}